package service;

import java.util.List;

import domain.Article;

public interface IArticleService {
	public Integer addArt(Article art);
	
	//文章总数
	public Integer count();
	
	public Integer updateArt(Long id,Article article);
	
	public Integer deleteArt(Long id);
	
	public Article queryById(Long id);
	
	//高级查询加分页
	public List<Article> listAll(Integer currentPage,Integer pageSize,String query);
}
